package cn.com.lsy.product.lepao.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;

@ApiModel
public class AddStoreInfoParam {

    @ApiModelProperty(value = "名称")
    @NotEmpty(message = "名称必传")
    private String storeName;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "地址")
    @NotEmpty(message = "地址必传")
    private String address;

    @ApiModelProperty(value = "区域id")
    @DecimalMin(value = "1", message = "区域id必传")
    private Integer areaId;

    @ApiModelProperty(value = "电话")
    @NotEmpty(message = "电话必传")
    private String storePhone;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "贴图")
    @NotEmpty(message = "贴图必传")
    private String pictrueImg;

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getStorePhone() {
        return storePhone;
    }

    public void setStorePhone(String storePhone) {
        this.storePhone = storePhone;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getPictrueImg() {
        return pictrueImg;
    }

    public void setPictrueImg(String pictrueImg) {
        this.pictrueImg = pictrueImg;
    }
}